<ion-modal-view >

  <ion-header-bar class="index_head">
    <button class="button button-icon icon ion-android-arrow-back" ng-click="forgetPassword.hide()" style="color: #fff"></button>
    <div class="h1 title"> {{forgetPassword.title || '重置密码'}}</div>

  </ion-header-bar>
  <ion-content style="background: #fff;">
    <div class="zhuce_con_wrap">

      <div class="con_wrap">
        <div class="list">
          <div class="weui-flex">
            <i>手机号：</i>
            <input type="text" ng-model="forgetPassword.data.mobile" maxlength="11" class="weui-flex__item" placeholder="输入手机号码"  >
            <span ng-show="forgetPassword.data.mobile" ng-click="forgetPassword.data.mobile=''"><img  src="img/commimg/delete_icon.png"></span>
          </div>
        </div>
        <div class="list">
          <div class="weui-flex">
            <i>图形验证码：</i>
            <input type="tel" class="weui-flex__item" ng-model="forgetPassword.data.imgvCode" maxlength="6" placeholder="请输入图形验证码">
            <img ng-click="forgetPassword.getRandNum()" ng-src="{{$root.baseUrl}}/{{$root.jincs_env}}/api/verifyCode/service?{{forgetPassword.randNum}}">
          </div>
        </div>
        <div class="list">
          <div class="weui-flex">
            <i>验证码：</i>
            <input type="text" ng-model="forgetPassword.data.smsCode" class="weui-flex__item" maxlength="6" placeholder="请输入验证码">
            <span class="wei-span" ng-show="forgetPassword.interval == 0" ng-click="forgetPassword.sendVcode()" >
                    <a href="#" >获取验证码</a>
            </span>
            <span class="wei-span" ng-show="forgetPassword.interval != 0" style="margin: 0;">
                    <a href="#">{{forgetPassword.interval}}秒</a>
            </span>

          </div>
        </div>
        <div class="list">
          <div class="weui-flex">
            <i>新密码：</i>
            <input type="password" class="weui-flex__item" placeholder="请输入密码" maxlength="18" ng-model="forgetPassword.data.confirmPassword">
            <span ng-show="forgetPassword.data.confirmPassword" ng-click="forgetPassword.data.confirmPassword=''"><img  src="img/commimg/delete_icon.png"></span>
          </div>
          <p>6-18位数字或者字母</p>
        </div>
      </div>
      <button class="button button-block login_btn" ng-click="forgetPassword.nextStep()" ng-disabled="forgetPassword.data.confirmPassword.length>=6?disabled:!disabled">
          确认
      </button>
     
    </div>
  </ion-content>
</ion-modal-view>
